package com.pe1n.yangtaopai.bean;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * Created by Pe1n on 2016/11/28.
 */

public class SearchBean {
    /**
     * status : 200
     * msg : 加载成功
     * data : {"prodlist":[{"id":"1261","c_name":"神户洋菓子店草莓巧克力","sales_count":"160395","pic_url":"http://img3.yangtaotop.com/upload/image/20161021/1477015738347098.jpg","china_price":59,"is_stock":"1","tag_txt":"上周日本销量","s_rank":"160395"},{"id":"1210","c_name":"当巧克力遇见薄饼","sales_count":"50341","pic_url":"http://img3.yangtaotop.com/upload/image/20160804/1470302851753368.jpg","china_price":72,"is_stock":"1","tag_txt":"上周日本销量","s_rank":"50341"},{"id":"1274","c_name":"六花亭草莓夹心巧克力","sales_count":"48231","pic_url":"http://img3.yangtaotop.com/upload/image/20161028/1477640282230030.jpg","china_price":40,"is_stock":"1","tag_txt":"上周日本销量","s_rank":"48231"},{"id":"79411","c_name":"当巧克力遇见薄饼","sales_count":"44316","pic_url":"http://img3.yangtaotop.com/upload/image/20160813/1471075850520084.jpg","china_price":39,"is_stock":"1","tag_txt":"上周日本销量","s_rank":"44316"},{"id":"79412","c_name":"白色恋人 白巧克力18片","sales_count":"44316","pic_url":"http://img3.yangtaotop.com/upload/image/20161105/1478328671925710.jpg","china_price":76,"is_stock":"1","tag_txt":"上周日本销量","s_rank":"44316"},{"id":"79413","c_name":"白色恋人 黑巧克力18片","sales_count":"44316","pic_url":"http://img3.yangtaotop.com/upload/image/20161105/1478328917601352.jpg","china_price":77,"is_stock":"1","tag_txt":"上周日本销量","s_rank":"44316"},{"id":"79414","c_name":"当巧克力遇见薄饼","sales_count":"44316","pic_url":"http://img3.yangtaotop.com/upload/image/20160813/1471076409950648.jpg","china_price":102,"is_stock":"1","tag_txt":"上周日本销量","s_rank":"44316"},{"id":"79415","c_name":"白色恋人 白+黑24片混装","sales_count":"44316","pic_url":"http://img3.yangtaotop.com/upload/image/20160813/1471076691779655.jpg","china_price":102,"is_stock":"1","tag_txt":"上周日本销量","s_rank":"44316"},{"id":"79416","c_name":"白色恋人  白巧克力27片","sales_count":"44316","pic_url":"http://img3.yangtaotop.com/upload/image/20161105/1478329253742451.jpg","china_price":123,"is_stock":"1","tag_txt":"上周日本销量","s_rank":"44316"},{"id":"79417","c_name":"白色恋人  白+黑36片混装","sales_count":"44316","pic_url":"http://img3.yangtaotop.com/upload/image/20161105/1478329472654822.jpg","china_price":225,"is_stock":"1","tag_txt":"上周日本销量","s_rank":"44316"}],"page_total":"8"}
     */

    @SerializedName("status")
    private int status;
    @SerializedName("msg")
    private String msg;
    @SerializedName("data")
    private DataBean data;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * prodlist : [{"id":"1261","c_name":"神户洋菓子店草莓巧克力","sales_count":"160395","pic_url":"http://img3.yangtaotop.com/upload/image/20161021/1477015738347098.jpg","china_price":59,"is_stock":"1","tag_txt":"上周日本销量","s_rank":"160395"},{"id":"1210","c_name":"当巧克力遇见薄饼","sales_count":"50341","pic_url":"http://img3.yangtaotop.com/upload/image/20160804/1470302851753368.jpg","china_price":72,"is_stock":"1","tag_txt":"上周日本销量","s_rank":"50341"},{"id":"1274","c_name":"六花亭草莓夹心巧克力","sales_count":"48231","pic_url":"http://img3.yangtaotop.com/upload/image/20161028/1477640282230030.jpg","china_price":40,"is_stock":"1","tag_txt":"上周日本销量","s_rank":"48231"},{"id":"79411","c_name":"当巧克力遇见薄饼","sales_count":"44316","pic_url":"http://img3.yangtaotop.com/upload/image/20160813/1471075850520084.jpg","china_price":39,"is_stock":"1","tag_txt":"上周日本销量","s_rank":"44316"},{"id":"79412","c_name":"白色恋人 白巧克力18片","sales_count":"44316","pic_url":"http://img3.yangtaotop.com/upload/image/20161105/1478328671925710.jpg","china_price":76,"is_stock":"1","tag_txt":"上周日本销量","s_rank":"44316"},{"id":"79413","c_name":"白色恋人 黑巧克力18片","sales_count":"44316","pic_url":"http://img3.yangtaotop.com/upload/image/20161105/1478328917601352.jpg","china_price":77,"is_stock":"1","tag_txt":"上周日本销量","s_rank":"44316"},{"id":"79414","c_name":"当巧克力遇见薄饼","sales_count":"44316","pic_url":"http://img3.yangtaotop.com/upload/image/20160813/1471076409950648.jpg","china_price":102,"is_stock":"1","tag_txt":"上周日本销量","s_rank":"44316"},{"id":"79415","c_name":"白色恋人 白+黑24片混装","sales_count":"44316","pic_url":"http://img3.yangtaotop.com/upload/image/20160813/1471076691779655.jpg","china_price":102,"is_stock":"1","tag_txt":"上周日本销量","s_rank":"44316"},{"id":"79416","c_name":"白色恋人  白巧克力27片","sales_count":"44316","pic_url":"http://img3.yangtaotop.com/upload/image/20161105/1478329253742451.jpg","china_price":123,"is_stock":"1","tag_txt":"上周日本销量","s_rank":"44316"},{"id":"79417","c_name":"白色恋人  白+黑36片混装","sales_count":"44316","pic_url":"http://img3.yangtaotop.com/upload/image/20161105/1478329472654822.jpg","china_price":225,"is_stock":"1","tag_txt":"上周日本销量","s_rank":"44316"}]
         * page_total : 8
         */

        @SerializedName("page_total")
        private String pageTotal;
        @SerializedName("prodlist")
        private List<ProdlistBean> prodlist;

        public String getPageTotal() {
            return pageTotal;
        }

        public void setPageTotal(String pageTotal) {
            this.pageTotal = pageTotal;
        }

        public List<ProdlistBean> getProdlist() {
            return prodlist;
        }

        public void setProdlist(List<ProdlistBean> prodlist) {
            this.prodlist = prodlist;
        }

        public static class ProdlistBean {
            /**
             * id : 1261
             * c_name : 神户洋菓子店草莓巧克力
             * sales_count : 160395
             * pic_url : http://img3.yangtaotop.com/upload/image/20161021/1477015738347098.jpg
             * china_price : 59
             * is_stock : 1
             * tag_txt : 上周日本销量
             * s_rank : 160395
             */

            @SerializedName("id")
            private String id;
            @SerializedName("c_name")
            private String cName;
            @SerializedName("sales_count")
            private String salesCount;
            @SerializedName("pic_url")
            private String picUrl;
            @SerializedName("china_price")
            private int chinaPrice;
            @SerializedName("is_stock")
            private String isStock;
            @SerializedName("tag_txt")
            private String tagTxt;
            @SerializedName("s_rank")
            private String sRank;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getCName() {
                return cName;
            }

            public void setCName(String cName) {
                this.cName = cName;
            }

            public String getSalesCount() {
                return salesCount;
            }

            public void setSalesCount(String salesCount) {
                this.salesCount = salesCount;
            }

            public String getPicUrl() {
                return picUrl;
            }

            public void setPicUrl(String picUrl) {
                this.picUrl = picUrl;
            }

            public int getChinaPrice() {
                return chinaPrice;
            }

            public void setChinaPrice(int chinaPrice) {
                this.chinaPrice = chinaPrice;
            }

            public String getIsStock() {
                return isStock;
            }

            public void setIsStock(String isStock) {
                this.isStock = isStock;
            }

            public String getTagTxt() {
                return tagTxt;
            }

            public void setTagTxt(String tagTxt) {
                this.tagTxt = tagTxt;
            }

            public String getSRank() {
                return sRank;
            }

            public void setSRank(String sRank) {
                this.sRank = sRank;
            }
        }
    }
}
